package com.stgy.lease.web.admin.service;

import com.stgy.lease.model.domain.LabelInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.stgy.lease.model.enums.LabelInfoTypeEnum;

import java.util.List;

/**
* @author lingx
* @description 针对表【label_info(标签信息表)】的数据库操作Service
* @createDate 2024-08-28 11:00:29
*/
public interface LabelInfoService extends IService<LabelInfo> {

    //[根据类型]查询标签信息列表
    List<LabelInfo> listByEnum(LabelInfoTypeEnum typeEnum);

    //新增或者更新标签信息
    boolean saveOrUpdateLabelInfo(LabelInfo labelInfo);
}
